import request from '@/utils/request'

// 查询套餐公告列表
export function listPackageNotice(query) {
  return request({
    url: '/checksystem/packageNotice/list',
    method: 'get',
    params: query
  })
}

// 查询套餐公告详细
export function getPackageNotice(id) {
  return request({
    url: '/checksystem/packageNotice/' + id,
    method: 'get'
  })
}

// 新增套餐公告
export function addPackageNotice(data) {
  return request({
    url: '/checksystem/packageNotice',
    method: 'post',
    data: data
  })
}

// 修改套餐公告
export function updatePackageNotice(data) {
  return request({
    url: '/checksystem/packageNotice',
    method: 'put',
    data: data
  })
}

// 删除套餐公告
export function delPackageNotice(id) {
  return request({
    url: '/checksystem/packageNotice/' + id,
    method: 'delete'
  })
} 